package com.chongba.constant;

public class Constant {
    /**
     * 常量工具类
     */
    //task状态
    public static final int SCHEDULED = 0;    //初始化状态

    public static final int EXECUTED = 1;     //已执行状态

    public static final int CANCELLED = 2;    //已取消状态

    public static String DBCACHE = "db_cache";

    public static String TOPIC = "topic_";  //即将要执行任务的key

    public static String FUTURE = "future_"; //一段时间后要执行任务的key

    public static String FUTURETIME = "futureTime_"; //预加载时间

    public static String SCHEDULEPATH = "/chongba/schedule_master"; //zookeeper选主目录

    public static String JOBPATH = "/chongba/job_master"; //zookeeper选主目录
}
